package com.libaoxuan.blog.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.libaoxuan.blog.dao.pojo.Article;
import com.libaoxuan.blog.vo.ArticleVo;
import com.libaoxuan.blog.vo.Result;
import com.libaoxuan.blog.vo.params.ArticleParam;
import com.libaoxuan.blog.vo.params.PageParams;
import org.springframework.data.domain.Page;

import java.math.BigInteger;

public interface ArticleService{

    Result listArticle(PageParams pageParams);

    Result hotArticle(int limit);

    Result newArticle(int limit);

    Result listArchives();

    ArticleVo findArticleById(Long id);

    Result publish(ArticleParam articleParam);


}
